﻿<Window x:Class="WpfApp.MainDlg"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:splx="clr-namespace:Suplex.Wpf;assembly=Suplex.Wpf"
        Title="Main Dialog" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Button Click="cmdLoadSuplex_Click" Content="Load Suplex" />

        <splx:SplxGrid VerticalAlignment="Stretch" Grid.Row="1" Name="grdTop">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>

            <splx:SplxRecordManager Name="rmTop" />

            <splx:SplxTextBox Name="txtGoo" Text="xxx"/>

            <splx:SplxGroupBox Header="foo" Name="grpFoo" Grid.Row="1">
                <StackPanel>
                    <splx:SplxFileSystemManager Name="fsmFoo" />
                    <splx:SplxTextBox Name="txtFoo"/>
                </StackPanel>
            </splx:SplxGroupBox>
        </splx:SplxGrid>

    </Grid>
</Window>